<div class="p_category">
	<div class="modelName">
		<h1>当前位置：产品新增</h1>
	</div>
	<div class="mt10">
		<a id="c_p_c_btn" href="javascript:void(0)">返回</a>
	</div>
	<div class="c_table mt10 m_w400">
		<form id="c_form">
			<input type="hidden" name="content" id="p_content">
			<table>
				<tr>
					<td>产品名称：</td>
					<td>
						<input type="text" name="name" id="name">
					</td>
				</tr>
				<tr>
					<td>产品内容：</td>
					<td>
						<textarea rows="30" cols="50" name="editor01">请输入.</textarea>
					</td>
				</tr>
				<tr>
					<td></td>
					<td>
						<input id="saveBtn" type="submit" value="保存">
					</td>
				</tr>
			</table>
		</form>
	</div>
</div>

<script type="text/javascript">
	$("#c_p_c_btn").click(function() {
		loadPage('{#$baseUrl#}/productManage/');
	});
	$("#saveBtn").click(function() {
		var val = CKEDITOR.instances.editor01.getData();
		$("#p_content").get(0).value = val;
		
	});
	ajaxSubmit("#c_form","{#$baseUrl#}productManage/create","POST");
	
	CKEDITOR.replace('editor01');

</script>